package com.eco.fanliapp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eco.fanliapp.common.response.ServerResponse;
import com.eco.fanliapp.entity.BeginnerMode;

public interface IBeginnerModeService extends IService<BeginnerMode>
{

    /**
     *  根据奖励代号来更新符合条件的数据库记录,app_beginner_mode
     *
     * @param beginnerMode
     */
    ServerResponse updateByRewardTypeCode(BeginnerMode beginnerMode);

    /**
     *  根据奖励代号获取一条数据库记录,app_beginner_mode
     *
     * @param rewardTypeCode
     */
    ServerResponse<BeginnerMode> selectByRewardTypeCode(Integer rewardTypeCode);
}
